package com.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 患者信息登记表
 */

@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisPatientInformation对象", description = "患者信息表")
@TableName(value = "t_his_patient_information")
public class THisPatientInformation {

    @ApiModelProperty(value = "患者信息id")
    @TableId(value = "information_id", type = IdType.AUTO)
    private Integer informationId;

    @ApiModelProperty(value = "患者姓名")
    private String informationName;

    @ApiModelProperty(value = "患者地址")
    private String informationAddress;

    @ApiModelProperty(value = "患者电话")
    private String informationPhone;

    @ApiModelProperty(value = "患者出生日期")
    private Date informationDate;

    @ApiModelProperty(value = "患者年龄")
    private String informationAge;

    @ApiModelProperty(value = "患者职业类型")
    private String informationProfession;

    @ApiModelProperty(value = "创建日期")
    private Date informationCreationDate;

    @ApiModelProperty(value = "操作人")
    private Integer informationOperator;
}
